package org.kealinghornets.nxtdroid;

import org.kealinghornets.nxtdroid.NXT.NXTThread;

/**
 * Created by chuah on 12/2/14.
 */
public class my4th extends NXTThread {
    public my4th() {
        setNXTThreadName("  ice cream   ");
    }

    public void run() {
        runMotor(PORT_B);
        wait(500);
        runMotor(PORT_A);
        runMotor(PORT_B);
        wait(20000);
        stopMotor(PORT_B);
        wait(500);
        runMotor(PORT_B);
        runMotor(PORT_A);
        wait(10000);
        stopMotor(PORT_A);
        stopMotor(PORT_B);

    }
}